<template>
  <div>
    <!-- 排行榜图片 -->
    <div class="rankIngBox">
      <img src="https://p1.music.126.net/N2HO5xfYEqyQ8q6oxCw8IQ==/18713687906568048.jpg" alt="">
    </div>
  </div>
</template>
<script>
import { getNewSongList } from '../api/api'

export default {
  name: "rankList",
  methods: {
    goRank(id) {
      this.$router.push({ path: "/rankLiat", query: { id } });
    },
  },
  created(){
      getNewSongList(this.$route.query.id).then(res=>{
          console.log(res);
      })
  }
};
</script>
<style scoped>
* {
  margin: 0;
  padding: 0;
}
.rankIngBox {
  width: 100%;
  height: 145px;
}
.rankIngBox > img {
  width: 100%;
  height: 100%;
}
</style>